//
//  XLFormDescriptorHeaderFooter.h
//  XZPlatformKit
//
//  Created by Basic on 2018/10/23.
//

#import <Foundation/Foundation.h>

@class XLFormSectionDescriptor;
@class XLFormViewController;

@protocol XLFormDescriptorHeaderFooter <NSObject>
@required
@property (nonatomic, weak) XLFormSectionDescriptor * sectionDescriptor;

-(void )configure;
-(void )update;

@optional

/**
 返回section header\footer 高度

 @param sectionDescriptor sectionDescriptor description
 @return return value description
 */
+(CGFloat )formDescriptorHeaderFooterHeight:(XLFormSectionDescriptor *)sectionDescriptor;
//-(void )formDescriptorHeaderFooterDidSelected:(XLFormViewController *)controller;
@end
